package com.zb.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2024/3/16 0016
 **/
@Data
@ApiModel("编码Excel导入对象")
public class CodeExcelImport {
    @ApiModelProperty(value = "一物一码")
    @ExcelProperty(index = 0)
    private String code;

    @ApiModelProperty(value = "编码类型：1-成品，2-配件")
    @ExcelProperty(index = 1)
    private Integer type;

    @ApiModelProperty(value = "编码激活状态：0-未激活，1-激活")
    @ExcelProperty(index = 2)
    private Boolean activa;

    @ApiModelProperty(value = "质保天数")
    @ExcelProperty(index = 3)
    private Integer warrantyDay;

    @ApiModelProperty(value = "商品型号")
    @ExcelProperty(index = 4)
    private String goodsModel;

    @ApiModelProperty(value = "商品规格")
    @ExcelProperty(index = 5)
    private String goodsSpec;


}
